package com.vhall.component.entity.sign.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 签到统计请求VO
 *
 * @author shenghua.luo
 */
@Data
public class SignStatReqVO implements Serializable {

    @ParamName("app_id")
    @NotBlank(message = "应用appId不能为空")
    @Length(max = 32)
    private String appId;

    /**
     * 来源ID
     */
    @ParamName("room_id")
    @NotBlank(message = "来源ID不能为空")
    @Length(max = 255)
    private String roomId;

    /**
     * 是否去重
     */
    @ParamName("is_distinct")
    private String isDistinct;
}
